package com.sinothk.view.stateView.demo;

import android.graphics.Color;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.sinothk.view.stateview.SlantedTextView;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        SlantedTextView stv = findViewById(R.id.test);
        stv.setText("SINOTHK")
                .setTextColor(Color.WHITE)
                .setSlantedBackgroundColor(Color.BLACK)
                .setTextSize(20)
                .setSlantedLength(60)
                .setMode(SlantedTextView.MODE_RIGHT);

    }

}
